﻿// 登录页面的样式
.login_bgContent {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 100;
  // 背景图片
  &>img {
    display: block;
    width: 100%;
    height: 100%;
  }
  // 上部的logo
  .login_logo {
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    margin-top: -330px;
    text-align: center;
    &>img {
      width: 50px;
      height: 50px;
      vertical-align: top;
    }
    span {
      font-size: 40px;
      color: #fff;
      margin-left: 10px;
    }
  }
  // 底部部分
  .login_footer{
    width: 100%;
    height: 24px;
    line-height: 24px;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    margin-top: 330px;
    color:#fff;
  }
  /* 登录框部分 */
  .login_formContent {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -210px;
    margin-top: -249px;
    width: 420px;
    height: 498px;
    padding: 40px 75px 0;
    background: -webkit-linear-gradient(#fafafa, #b5b5b5); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(#fafafa, #b5b5b5); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(#fafafa, #b5b5b5); /* Firefox 3.6 - 15 */
    background: linear-gradient(#fafafa, #b5b5b5); /* 标准的语法 */
    // 标题部分
    .login_titleInfo {
      width: 100%;
      height: 48px;
      line-height: 48px;
      font-size: 24px;
      color:#333;
      font-weight: 600;
    }
    /* 输入表单 */
    .login_inputContainter {
      padding-top: 30px;
      position: relative;
      /* 错误的提示信息 */
      .login_notice {
        position: absolute;
        left: 0;
        top: 0;
        height: 30px;
        line-height: 30px;
        color: #fc4848;
        font-size: 14px;
        &>i {
          font-size: 18px;
          vertical-align: -2px;
        }
      }
      /* 输入框部分 */
      .login_inputContent {
        height: 72px;
        width: 100%;
        .login_inputLabel {
          width: 100%;
          height: 36px;
          line-height: 36px;
          font-size: 18px;
          color: #333;
        }
        input {
          padding-left: 10px;
          border: 1px solid $theme_border_color;
          width: 100%;
          height: 36px;
          background: #cbcbcb;
          color:#000;
          font-size: 14px;
          border-radius: 0;
        }
      }
      // 忘记密码部分
      .login_forgetPwd {
        width: 100%;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        margin-top: 20px;
        a {
          text-decoration: underline !important;
        }
      }
      // 边距
      .login_inputMargin {
        margin-bottom: 30px;
      }
      /* 登录 */
      .login_submit {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 30px;
        height: 48px !important;
        line-height: 46px !important;
        text-align: center;
        color:#fff;
        font-size: 18px;
        padding: 0;
        font-weight: 600;
        border: 1px solid $theme_border_color;
        border-radius: 0;
        transition: all linear .5s;
        -webkit-transition: all linear .5s;
        -o-transition: all linear .5s;
        -moz-transition: all linear .5s;
      }
    }
  }
}
// 登录页面的表单
.login_inputContent {
  .el-input__inner {
    background-color: #cbcbcb;
    color:#000;
  }
  input::-webkit-input-placeholder{
    color:#999 !important;
  }
  input:-moz-placeholder{
    color:#999 !important;
  }
  input::-moz-placeholder{
    color:#999 !important;
  }
  input:-ms-input-placeholder{
    color:#999 !important;
  }
  input:-webkit-autofill {
    box-shadow: none !important;
    -webkit-text-fill-color: #999 !important;
  }
  input:-internal-autofill-selected,
  input:-internal-autofill-previewed{
    background-color: #cbcbcb !important;
  }
}
// 小屏幕时
@media(max-width:1367px) {
  .login_bgContent {
    .login_footer{
      margin-top:240px;
    }
    .login_logo{
      margin-top:-280px;
    }
    .login_formContent {
      padding: 30px 55px 0;
      width: 380px;
      height: 400px;
      margin-top: -200px;
      margin-left: -190px;
      /* 输入表单 */
      .login_inputContainter{
        .login_inputMargin {
          margin-bottom: 15px;
        }
        .login_forgetPwd,
        .login_submit {
          margin-top:15px;
        }
        .login_inputContainter {
          padding-top: 20px;
        }
        .login_notice {
          height: 20px;
          line-height: 20px;
        }
      }
    }
  }
}